<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class FeeLog extends Model
{
    use HasFactory;
    public $table = 'fee_log';
    public $timestamps = false;


    public function feeType()
    {
        return $this->hasOne(FeeType::class,'id','type_id');
    }

    public function student()
    {
        return $this->hasOne(Student::class,'id','student_id');
    }

}
